package com.platform.config;

import cn.hutool.core.util.PhoneUtil;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Profile;

import javax.annotation.PostConstruct;

@Profile({"dev","test"})
@Configuration
public class DevConfig {

    public static boolean isDev = false;

    @PostConstruct
    public  void init(){isDev = true;}

}
